package com.code.entity.generator;

import java.util.List;
import java.util.Map;

public class Table {
    private String tableName;
    private String tableComment;
    private List<Column> columns;
    private Map<Integer, List<Column>> uniqueIndexGroup;
    private Map<String, List<Column>> indexGroup;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    public List<Column> getColumns() {
        return columns;
    }

    public void setColumns(List<Column> columns) {
        this.columns = columns;
    }

    public Map<Integer, List<Column>> getUniqueIndexGroup() {
        return uniqueIndexGroup;
    }

    public void setUniqueIndexGroup(Map<Integer, List<Column>> uniqueIndexGroup) {
        this.uniqueIndexGroup = uniqueIndexGroup;
    }

    public Map<String, List<Column>> getIndexGroup() {
        return indexGroup;
    }

    public void setIndexGroup(Map<String, List<Column>> indexGroup) {
        this.indexGroup = indexGroup;
    }
}
